import request from '@/http/request';

const getMonthMoney = () => {
    return request({
        url: '/homepage/money',
        method: 'get'
    })
}

const getMemberCount = () => {
    return request({
        url: '/homepage/memcount',
        method: 'get'
    })
}

const getMemberCardNum = () => {
    return request({
        url: '/homepage/card',
        method: 'get'
    })
}

const getActiveMemberCount = () => {
    return request({
        url: '/homepage/activecount',
        method: 'get'
    })
}

const getMonthNewMemberCount = () => {
    return request({
        url: '/homepage/incrementd',
        method: 'get'
    })
}

const getMonthLoseMemberCount = () => {
    return request({
        url: '/homepage/decrementd',
        method: 'get'
    })
}

export default {
    getMonthMoney,
    getMemberCount,
    getMemberCardNum,
    getActiveMemberCount,
    getMonthNewMemberCount,
    getMonthLoseMemberCount
}
